Form { Section(header: Text("User Details")) { Text("Name:").background(Color.red) Text("Email:").foregroundColor(Color.red) }.listRowBackground(Color.green) }